0
Главная Информация Документы Музей Студенту Преподавателю


Valid HTML 4.01 Transitional
Valid CSS!
Yellow Pages
HotLog

Russian

GNUplot Demonstrations

Contents Back Next

param gnuplot demo

#
# $Id: param.demo 3.38 1992/11/06 06:33:50 woo Exp $
#
# Show some of the new parametric capabilities.
#
set parametric
set dummy t
set autoscale
set samples 160
set title ""
plot t,sin(t)/t title "t,sin(t)/t or sin(x)/x"
will result in (gif mode)
plot sin(t)/t,t
will result in (gif mode)
plot sin(t),cos(t)
will result in (gif mode)
set xrange [-3:3]
set yrange [-3:3]
set title "Parametric Conic Sections"
plot -t,t,cos(t),cos(2*t),2*cos(t),sin(t),-cosh(t),sinh(t)
set title ""
will result in (gif mode)
set xrange [-5:5]
set yrange [-5:5]
plot tan(t),t,t,tan(t)
will result in (gif mode)
set trange [0.00001:3]
plot t,log(t),-t,log(t),sin(t),t**2,-sin(t),t**2
will result in (gif mode)
set autoscale x
set yrange [-1.5:1.5]
set trange [0.0001:10*pi]
plot sin(t)/t,cos(t)/t
will result in (gif mode)
# undo what we've done above
set noparametric
set samples 160
set autoscale xy
set title ""
set offset 0,0,0,0
set key

http://playfair.stanford.edu/~woo/woo.html
Кафедра Информатики и Математического Обеспечения: спецкурс Визуализация данных